package com.heima.homework.day605_开班;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {

        System.out.println(":");
        Scanner sc = new Scanner(System.in);
        String num = sc.next();

        if (num.length() != 11) {
            System.out.println("lose");
        }
        char[] chars = num.toCharArray();

        for (int i = 0; i < chars.length; i++) {
            if (chars[i]<'0'&&chars[i]>'9'){
                System.out.println("lose");
            }
        }


       System.out.println(num.substring(7));

    }
}
